package com.physique.tea.Pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("ORDERS")
public class Order {
    @TableId(type = IdType.AUTO)
    private Integer ORDERID;

    private String ADDRESS;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ORDERDATE;

    private String USERNAME; // 关联用户

    private String RECIPE;
    private  String PHONE;
    private Double ORDERPRICES;
    private Integer STATE;
}